package from;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextArea;

import java.awt.*;

public class FormPage extends WebPage {
    public FormPage(){
        super();

        Form form = new Form("form"){
            protected void onSubmit(){
                System.out.println("submit");
            };
        };
        form.add(new TextArea<>("name"));

        this.add(form);
    }
}
